package com.example.building_material_mannager.service.impl;

import com.example.building_material_mannager.entity.ExpenseDetails;
import com.example.building_material_mannager.entity.OtherSelect;
import com.example.building_material_mannager.mapper.ExpenseDetailsMapper;
import com.example.building_material_mannager.service.ExpenseDetailsService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class ExpenseDetailsServiceImpl implements ExpenseDetailsService {
    @Resource
    ExpenseDetailsMapper expenseDetailsMapper;

    @Override
    public List<ExpenseDetails> selectExpenseDetails(OtherSelect otherSelect) {
        return expenseDetailsMapper.selectExpenseDetails(otherSelect);
    }
}
